# -*- codeing = utf-8 -*-
# @Time : 2021/2/28 17:03
# @Atuthor: 朱朱
# @File: model.py
# @Software: PyCharm
from 学生管理系统015 import tools
"""
定义老师类,和学生类
"""
class Teacher(object):
    def __init__(self, name, password):
        self.name = name
        self.password = tools.encrypt_password(password)

class Student(object):
    def __init__(self, s_id, name, age, gender, tel):
        self.s_id = s_id
        self.name = name
        self.age = age
        self.gender = gender
        self.tel = tel
